<template>
  <div>
    <el-button
      type="primary"
      @click="login()">
      登录
    </el-button>
  </div>
</template>

<script lang="ts">
import { goFrameRouter } from '@/router'
import { defineComponent } from 'vue'

export default defineComponent({
  name: 'login',
  setup() {
    const login = () => goFrameRouter()

    return {
      login,
    }
  },
})
</script>
